package com.example.emos.wx.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName SayHelloForm
 * @Author zhangzhixi
 * @Description
 * @Date 2022/8/18 12:42
 * @Version 1.0
 */
@ApiModel
@Data
public class SayHelloForm {
    @NotBlank
//    @Pattern(regexp = "^[\\u4e00-\\u9fa5]{2,15}$")
    @ApiModelProperty("姓名")
    private String name;
}
